package net.realsee.common.enums.wcs.hik;

/**
 * HIK回调接口，返回方法类型
 *
 * @author 孙正华
 * @since 2023/8/18 14:17
 */
public enum HikCallbackMethodTypeEnum {

    START("start", "任务开始"),
    IN_BIN("inbin", "进入储位"),
    OUT_BIN("outbin", "走出储位"),
    END("end", "任务结束"),
    FIRST_HALF_END("first_half_end", "前半段任务结束"),
    CANCEL("cancel", "任务单取消"),
    POD_SCAN("pod_scan", "货架扫码"),
    WAITING("waiting", "入库前等待"),
    APPLY_FROM_AGV("APPLY_FROM_AGV", "处理小车偏差逻辑"),
    LK_FINAL_LOC_SET("lk_final_loc_set", "处理立库二段任务终点库位设置逻辑"),
    ;

    private final String code;
    private final String message;

    HikCallbackMethodTypeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
